package com.dkd.sbtz.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;
import org.apache.ibatis.type.Alias;

/**
 * 设备关键指标对象 asset_critical
 * 
 * @author xzj
 * @date 2025-10-20
 */
@Alias("assetCritical")
@Data
public class AssetCritical extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 设备ID */
    @Excel(name = "设备ID")
    private Long assetId;

    /** 工单ID */
    @Excel(name = "工单ID")
    private Long orderId;

    /** 噪音 */
    @Excel(name = "噪音")
    private BigDecimal noise;

    /** 震动 */
    @Excel(name = "震动")
    private BigDecimal vibration;

    /** 温度 */
    @Excel(name = "温度")
    private BigDecimal temperature;

    /** 电流 */
    @Excel(name = "电流")
    private BigDecimal electricCurrent;

    /** 采集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date collectTime;

    /** 0 人工添加 1首次确认 2工单列表 */
    @Excel(name = "0 人工添加 1首次确认 2工单列表")
    private Integer source;

    /** 0 正常 1删除 */
    @Excel(name = "0 正常 1删除")
    private Integer isDelete;
}
